<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>spade.Unit_new.Unit_new</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="spade-module.html">Package&nbsp;spade</a> ::
        <a href="spade.Unit_new-module.html">Module&nbsp;Unit_new</a> ::
        Class&nbsp;Unit_new
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="spade.Unit_new.Unit_new-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Unit_new</h1><p class="nomargin-top"><span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_spade_un_70" name="uml_class_diagram_for_spade_un_70">
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.TestRoomNameBehaviour-class.html" title="spade.Unit_new.Unit_new.TestRoomNameBehaviour" alt="" coords="17,809,749,828"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.CreateRoomBehaviour-class.html" title="spade.Unit_new.Unit_new.CreateRoomBehaviour" alt="" coords="17,828,749,847"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.MyJoinRoomBehaviour-class.html" title="spade.Unit_new.Unit_new.MyJoinRoomBehaviour" alt="" coords="17,847,749,865"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.SetGoalBehaviour-class.html" title="spade.Unit_new.Unit_new.SetGoalBehaviour" alt="" coords="17,865,749,884"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.GetGoalBehaviour-class.html" title="spade.Unit_new.Unit_new.GetGoalBehaviour" alt="" coords="17,884,749,903"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.GetInfoBehaviour-class.html" title="spade.Unit_new.Unit_new.GetInfoBehaviour" alt="" coords="17,903,749,921"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.GetMemberListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetMemberListBehaviour" alt="" coords="17,921,749,940"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.GetMaxAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.GetMaxAgentsBehaviour" alt="" coords="17,940,749,959"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.GetMinAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.GetMinAgentsBehaviour" alt="" coords="17,959,749,977"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.SetMaxAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.SetMaxAgentsBehaviour" alt="" coords="17,977,749,996"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.SetMinAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.SetMinAgentsBehaviour" alt="" coords="17,996,749,1015"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.GetNumberOfAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.GetNumberOfAgentsBehaviour" alt="" coords="17,1015,749,1033"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.GetOwnerListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetOwnerListBehaviour" alt="" coords="17,1033,749,1052"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new.SendPrivateMessageBehaviour-class.html" title="spade.Unit_new.Unit_new.SendPrivateMessageBehaviour" alt="" coords="17,1071,749,1089"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="17,1092,749,1111"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#setup" title="spade.Unit_new.Unit_new.setup" alt="" coords="17,1111,749,1129"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#myCreate" title="spade.Unit_new.Unit_new.myCreate" alt="" coords="17,1129,749,1148"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#myJoin" title="spade.Unit_new.Unit_new.myJoin" alt="" coords="17,1148,749,1167"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#testRoomName" title="spade.Unit_new.Unit_new.testRoomName" alt="" coords="17,1167,749,1185"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#createRoom" title="spade.Unit_new.Unit_new.createRoom" alt="" coords="17,1185,749,1204"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#myJoinRoom" title="spade.Unit_new.Unit_new.myJoinRoom" alt="" coords="17,1204,749,1223"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#checkGoal" title="spade.Unit_new.Unit_new.checkGoal" alt="" coords="17,1223,749,1241"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#checkType" title="spade.Unit_new.Unit_new.checkType" alt="" coords="17,1241,749,1260"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#testUnitName" title="spade.Unit_new.Unit_new.testUnitName" alt="" coords="17,1260,749,1279"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#invite" title="spade.Unit_new.Unit_new.invite" alt="" coords="17,1279,749,1297"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#setGoal" title="Updates organization goals" alt="" coords="17,1297,749,1316"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#getGoal" title="Retruns a list of goals" alt="" coords="17,1316,749,1335"/>
<area shape="rect" id="node1621" href="spade.Unit_new.Unit_new-class.html#run" title="spade.Unit_new.Unit_new.run" alt="" coords="17,1353,749,1372"/>
<area shape="rect" id="node1" href="spade.Unit_new.Unit_new-class.html" title="spade.Unit_new.Unit_new" alt="" coords="5,785,760,1378"/>
<area shape="rect" id="node6" href="spade.Organization_new.Organization_new-class.html" title="spade.Organization_new.Organization_new" alt="" coords="260,1398,508,1437"/>
<area shape="rect" id="node1622" href="spade.Behaviour.OneShotBehaviour-class.html#done" title="returns True if the behavior has finished else returns False" alt="" coords="297,740,471,759"/>
<area shape="rect" id="node2" href="spade.Behaviour.OneShotBehaviour-class.html" title="this behavior is only executed once" alt="" coords="285,707,483,765"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.name" alt="" coords="300,95,468,113"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.ident" alt="" coords="300,113,468,132"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.daemon" alt="" coords="300,132,468,151"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="repr(x)" alt="" coords="300,153,468,172"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.start" alt="" coords="300,172,468,191"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.join" alt="" coords="300,191,468,209"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.isAlive" alt="" coords="300,209,468,228"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.is_alive" alt="" coords="300,228,468,247"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.isDaemon" alt="" coords="300,247,468,265"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.setDaemon" alt="" coords="300,265,468,284"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.getName" alt="" coords="300,284,468,303"/>
<area shape="rect" id="node1625" href="javascript:void(0);" title="threading.Thread.setName" alt="" coords="300,303,468,321"/>
<area shape="rect" id="node3" href="javascript:void(0);" title="threading.Thread" alt="" coords="288,70,480,327"/>
<area shape="rect" id="node1624" href="spade.MessageReceiver.MessageReceiver-class.html#postMessage" title="spade.MessageReceiver.MessageReceiver.postMessage" alt="" coords="276,380,492,399"/>
<area shape="rect" id="node7" href="spade.MessageReceiver.MessageReceiver-class.html" title="spade.MessageReceiver.MessageReceiver" alt="" coords="264,347,504,405"/>
<area shape="rect" id="node4" href="javascript:void(0);" title="threading._Verbose" alt="" coords="315,6,453,50"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#exitCode" title="returns the default exit code for the behavior" alt="" coords="81,457,685,476"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#getAgent" title="returns the agent which controls the behavior" alt="" coords="81,476,685,495"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#getParent" title="spade.Behaviour.Behaviour.getParent" alt="" coords="81,495,685,513"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#kill" title="stops the behavior" alt="" coords="81,513,685,532"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#managePresence" title="DEPRECATED manage a FIPA&#45;formed presence message" alt="" coords="81,532,685,551"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#onEnd" title="this method runs when the behavior stops" alt="" coords="81,551,685,569"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#onStart" title="this method runs when the behavior starts" alt="" coords="81,569,685,588"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#registerPresenceHandler" title="DEPRECATED register a handler that will manage all incoming presence &#160;notifications matching the given presence template" alt="" coords="81,588,685,607"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#root" title="spade.Behaviour.Behaviour.root" alt="" coords="81,607,685,625"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#setAgent" title="sets the agent which controls the behavior" alt="" coords="81,625,685,644"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#setParent" title="spade.Behaviour.Behaviour.setParent" alt="" coords="81,644,685,663"/>
<area shape="rect" id="node1623" href="spade.Behaviour.Behaviour-class.html#setTemplate" title="Set the message template for this behaviour" alt="" coords="81,663,685,681"/>
<area shape="rect" id="node5" href="spade.Behaviour.Behaviour-class.html" title="spade.Behaviour.Behaviour" alt="" coords="69,425,696,687"/>
</map>
  <img src="uml_class_diagram_for_spade_un_70.gif" alt='' usemap="#uml_class_diagram_for_spade_un_70" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<!-- ==================== NESTED CLASSES ==================== -->
<a name="section-NestedClasses"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Nested Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-NestedClasses"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.TestRoomNameBehaviour-class.html" class="summary-name">TestRoomNameBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.CreateRoomBehaviour-class.html" class="summary-name">CreateRoomBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.MyJoinRoomBehaviour-class.html" class="summary-name">MyJoinRoomBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.SetGoalBehaviour-class.html" class="summary-name">SetGoalBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetGoalBehaviour-class.html" class="summary-name">GetGoalBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetInfoBehaviour-class.html" class="summary-name">GetInfoBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetMemberListBehaviour-class.html" class="summary-name">GetMemberListBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetMaxAgentsBehaviour-class.html" class="summary-name">GetMaxAgentsBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetMinAgentsBehaviour-class.html" class="summary-name">GetMinAgentsBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.SetMaxAgentsBehaviour-class.html" class="summary-name">SetMaxAgentsBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.SetMinAgentsBehaviour-class.html" class="summary-name">SetMinAgentsBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetNumberOfAgentsBehaviour-class.html" class="summary-name">GetNumberOfAgentsBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetOwnerListBehaviour-class.html" class="summary-name">GetOwnerListBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.AddAdminBehaviour-class.html" class="summary-name">AddAdminBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.RemoveAdminBehaviour-class.html" class="summary-name">RemoveAdminBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetAdminListBehaviour-class.html" class="summary-name">GetAdminListBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.AddModeratorBehaviour-class.html" class="summary-name">AddModeratorBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.RemoveModeratorBehaviour-class.html" class="summary-name">RemoveModeratorBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetModeratorListBehaviour-class.html" class="summary-name">GetModeratorListBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.DestroyBehaviour-class.html" class="summary-name">DestroyBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.PresenceBehaviour-class.html" class="summary-name">PresenceBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.KickAgentBehaviour-class.html" class="summary-name">KickAgentBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.AddBanAgentBehaviour-class.html" class="summary-name">AddBanAgentBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.RemoveBanAgentBehaviour-class.html" class="summary-name">RemoveBanAgentBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GetBanAgentListBehaviour-class.html" class="summary-name">GetBanAgentListBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.GiveVoiceBehaviour-class.html" class="summary-name">GiveVoiceBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.RevokeVoiceBehaviour-class.html" class="summary-name">RevokeVoiceBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.SendMessageBehaviour-class.html" class="summary-name">SendMessageBehaviour</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Unit_new.Unit_new.SendPrivateMessageBehaviour-class.html" class="summary-name">SendPrivateMessageBehaviour</a>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.Unit_new.Unit_new-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">agent</span>,
        <span class="summary-sig-arg">nick</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">type</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Team</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">goalList</span>=<span class="summary-sig-default"><code class="variable-group">[</code><code class="variable-group">]</code></span>,
        <span class="summary-sig-arg">agentList</span>=<span class="summary-sig-default"><code class="variable-group">[</code><code class="variable-group">]</code></span>,
        <span class="summary-sig-arg">contentLanguage</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">sl</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">password</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">create</span>=<span class="summary-sig-default">True</span>)</span><br />
      x.__init__(...) initializes x; see help(type(x)) for signature</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setup"></a><span class="summary-sig-name">setup</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.setup">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="myCreate"></a><span class="summary-sig-name">myCreate</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.myCreate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="myJoin"></a><span class="summary-sig-name">myJoin</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.myJoin">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="testRoomName"></a><span class="summary-sig-name">testRoomName</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.testRoomName">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="createRoom"></a><span class="summary-sig-name">createRoom</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.createRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="myJoinRoom"></a><span class="summary-sig-name">myJoinRoom</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.myJoinRoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="checkGoal"></a><span class="summary-sig-name">checkGoal</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">goalList</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.checkGoal">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="checkType"></a><span class="summary-sig-name">checkType</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.checkType">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="testUnitName"></a><span class="summary-sig-name">testUnitName</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.testUnitName">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="invite"></a><span class="summary-sig-name">invite</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">agentList</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.invite">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setGoal"></a><span class="summary-sig-name">setGoal</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">goalList</span>)</span><br />
      Updates organization goals</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.setGoal">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getGoal"></a><span class="summary-sig-name">getGoal</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Retruns a list of goals</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getGoal">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getInfo"></a><span class="summary-sig-name">getInfo</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getInfo">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getMemberList"></a><span class="summary-sig-name">getMemberList</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Returns a List with Agents' names belonging to the organization</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getMemberList">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getMaxAgents"></a><span class="summary-sig-name">getMaxAgents</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Returns Maximum agents allowed to enter inside the Organization</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getMaxAgents">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getMinAgents"></a><span class="summary-sig-name">getMinAgents</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Returns Minimum agents needed to allow conversations inside</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getMinAgents">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setMaxAgents"></a><span class="summary-sig-name">setMaxAgents</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">maxUsers</span>)</span><br />
      Updates Maximum agents allowed to enter inside the Organization</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.setMaxAgents">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setMinAgents"></a><span class="summary-sig-name">setMinAgents</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">minUsers</span>)</span><br />
      Updates Minimum agents needed to allow conversations inside</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.setMinAgents">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getNumberOfAgents"></a><span class="summary-sig-name">getNumberOfAgents</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Returns current number od agents that are inside</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getNumberOfAgents">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getOwnerList"></a><span class="summary-sig-name">getOwnerList</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getOwnerList">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="addAdmin"></a><span class="summary-sig-name">addAdmin</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">newAdminJID</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.addAdmin">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="removeAdmin"></a><span class="summary-sig-name">removeAdmin</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">AdminJID</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.removeAdmin">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getAdminList"></a><span class="summary-sig-name">getAdminList</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getAdminList">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="addModerator"></a><span class="summary-sig-name">addModerator</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">newModeratorJID</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.addModerator">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="removeModerator"></a><span class="summary-sig-name">removeModerator</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">moderatorJID</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.removeModerator">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getModeratorList"></a><span class="summary-sig-name">getModeratorList</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getModeratorList">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="leave"></a><span class="summary-sig-name">leave</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Agent leaves and it is removed from the member list</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.leave">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="destroy"></a><span class="summary-sig-name">destroy</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Unit owner destroys the unit</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.destroy">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="kickAgent"></a><span class="summary-sig-name">kickAgent</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">agentNick</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.kickAgent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="addBanAgent"></a><span class="summary-sig-name">addBanAgent</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">agentJID</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.addBanAgent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="removeBanAgent"></a><span class="summary-sig-name">removeBanAgent</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">agentJID</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.removeBanAgent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getBanAgentList"></a><span class="summary-sig-name">getBanAgentList</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getBanAgentList">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="giveVoice"></a><span class="summary-sig-name">giveVoice</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">nickname</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.giveVoice">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="revokeVoice"></a><span class="summary-sig-name">revokeVoice</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">nickname</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.revokeVoice">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="sendMessage"></a><span class="summary-sig-name">sendMessage</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">message</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.sendMessage">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="sendPrivateMessage"></a><span class="summary-sig-name">sendPrivateMessage</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">recName</span>,
        <span class="summary-sig-arg">message</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.sendPrivateMessage">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setRegistrationForm"></a><span class="summary-sig-name">setRegistrationForm</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">dataForm</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.setRegistrationForm">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="addUnit"></a><span class="summary-sig-name">addUnit</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">unit</span>)</span><br />
      Creates a new unit inside an organization</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.addUnit">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="checkOwnerAdmin"></a><span class="summary-sig-name">checkOwnerAdmin</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">agentJID</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.checkOwnerAdmin">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="checkTypes"></a><span class="summary-sig-name">checkTypes</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">orgType</span>,
        <span class="summary-sig-arg">unitType</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.checkTypes">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="checkSupervisor"></a><span class="summary-sig-name">checkSupervisor</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">myAgentJID</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.checkSupervisor">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getSupervisorList"></a><span class="summary-sig-name">getSupervisorList</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.getSupervisorList">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.Unit_new.Unit_new-class.html#run" class="summary-sig-name">run</a>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.run">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.Unit_new.Unit_new-class.html#_process" class="summary-sig-name" onclick="show_private();">_process</a>(<span class="summary-sig-arg">self</span>)</span><br />
      main loop must be overridden</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new._process">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.Behaviour.OneShotBehaviour-class.html">Behaviour.OneShotBehaviour</a></code></b>:
      <code><a href="spade.Behaviour.OneShotBehaviour-class.html#done">done</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.Behaviour.Behaviour-class.html">Behaviour.Behaviour</a></code></b>:
      <code><a href="spade.Behaviour.Behaviour-class.html#exitCode">exitCode</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#getAgent">getAgent</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#getParent">getParent</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#kill">kill</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#managePresence">managePresence</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#onEnd">onEnd</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#onStart">onStart</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#registerPresenceHandler">registerPresenceHandler</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#root">root</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#setAgent">setAgent</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#setParent">setParent</a></code>,
      <code><a href="spade.Behaviour.Behaviour-class.html#setTemplate">setTemplate</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.MessageReceiver.MessageReceiver-class.html">MessageReceiver.MessageReceiver</a></code></b>:
      <code><a href="spade.MessageReceiver.MessageReceiver-class.html#postMessage">postMessage</a></code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.MessageReceiver.MessageReceiver-class.html">MessageReceiver.MessageReceiver</a></code></b> (private):
      <code><a href="spade.MessageReceiver.MessageReceiver-class.html#_receive" onclick="show_private();">_receive</a></code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b>:
      <code>__repr__</code>,
      <code>getName</code>,
      <code>isAlive</code>,
      <code>isDaemon</code>,
      <code>is_alive</code>,
      <code>join</code>,
      <code>setDaemon</code>,
      <code>setName</code>,
      <code>start</code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b> (private):
      <code>_reset_internal_locks</code>,
      <code>_set_daemon</code>,
      <code>_set_ident</code>
      </p></div>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>threading._Verbose</code></b> (private):
      <code>_note</code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE VARIABLES ==================== -->
<a name="section-InstanceVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.Behaviour.Behaviour-class.html">Behaviour.Behaviour</a></code></b> (private):
      <code><a href="spade.Behaviour.Behaviour-class.html#_exitcode" onclick="show_private();">_exitcode</a></code>
      </p></div>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b>:
      <code>daemon</code>,
      <code>ident</code>,
      <code>name</code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b> (private):
      <code>_block</code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">agent</span>,
        <span class="sig-arg">nick</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">type</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Team</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">goalList</span>=<span class="sig-default"><code class="variable-group">[</code><code class="variable-group">]</code></span>,
        <span class="sig-arg">agentList</span>=<span class="sig-default"><code class="variable-group">[</code><code class="variable-group">]</code></span>,
        <span class="sig-arg">contentLanguage</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">sl</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">password</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">create</span>=<span class="sig-default">True</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>x.__init__(...) initializes x; see help(type(x)) for signature</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="run"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">run</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new.run">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        threading.Thread.run
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="_process"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_process</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.Unit_new-pysrc.html#Unit_new._process">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>main loop must be overridden</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.Behaviour.Behaviour-class.html#_process" onclick="show_private();">Behaviour.Behaviour._process</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Aug  1 18:44:47 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
